<%@ Control Language="c#" %>
<%@ Register TagPrefix="CS" Namespace="CommunityServer.Controls" Assembly="CommunityServer.Controls" %>
<%@ Register TagPrefix="FileGalleries" Namespace="CommunityServer.Files.Controls" Assembly="CommunityServer.Files" %>
<%@ Import Namespace="CommunityServer.Files.Components" %>
<%@ Import Namespace="CommunityServer.Components" %>

<div class="CommonListArea">
	<h4 class="CommonListTitle"><asp:Literal id="SectionTitle" Runat="server" /></h4>
	<table width="100%" cellpadding="0" cellspacing="0" border=0>
		<thead>
		<tr>
				<th class="CommonListHeaderLeftMost FileFileNameHeader"><FileGalleries:ResourceControl id="resourcelabel1" runat="server" ResourceName="Files_PortalEntryListing_FieldFileName" /></th>
				<th class="CommonListHeader FileFileDateHeader"><FileGalleries:ResourceControl id="Resourcelabel2" runat="server" ResourceName="Files_PortalEntryListing_FieldDateAdded" /></th>
				<th class="CommonListHeader FileFileDownloadCountHeader"><FileGalleries:ResourceControl id="Resourcelabel4" runat="server" ResourceName="Files_PortalEntryListing_FieldDownloads" /></th>
				<th class="CommonListHeader FileFileActionHeader">&nbsp;</th>
			</tr>
		</thead>
		<tbody>		
		
		<CS:RepeaterPlusNone ID="Entries" Runat="server">
			<ItemTemplate>
				<tr>
					<td class="CommonListCellLeftMost FileFileNameColumn">
						<div class="FileFileName"><FileGalleries:FileThumbnail runat="server" id="FileThumbnail" ThumbnailSize="Small" /> <asp:HyperLink runat="server" ID="Name" /></div>
						<div class="FileFileDescription"><asp:Literal ID="Description" Runat="server" /></div>
						<div class="FileFileRating">
							<FileGalleries:RatingListing runat="server" ID="RatingListing">
								<SkinTemplate>
									<FileGalleries:EntryRatePost IsReadOnly="true" id="RatePost" runat="server" CssClass="CommonRateControl" ReadOnlyCssClass="CommonRateControlReadOnly" ActiveCssClass="CommonRateControlActive" ImagesBaseUrl="~/Themes/default/images/common/" /><br/>
								</SkinTemplate>
							</FileGalleries:RatingListing>
						</div>
					</td>
					<td class="CommonListCell FileFileDateColumn">
						<asp:Literal ID="DateAdded" Runat="server" />
					</td>
					<td class="CommonListCell FileFileDownloadCountColumn">
						<asp:Literal runat="server" ID="Downloads" />
					</td>
					<td class="CommonListCell FileFileActionColumn">
						<FileGalleries:FileGalleryImageButton ButtonType="Download" runat="server" ID="DownloadLink" />
						<div class="FileFileDetail"><FileGalleries:ResourceControl id="Resourcelabel6" runat="server" ResourceName="Files_PortalEntryListing_FieldFileSize" /> <asp:Literal ID="FileSize" Runat="server" /></div>
					</td>
				</tr>
			</ItemTemplate>
			<NoneTemplate>
				<tr>
				<td colspan="5" class="CommonListCellLeftMost"><FileGalleries:ResourceControl runat="server" ResourceName="NoRecords" ID="Resourcecontrol1" NAME="Resourcecontrol1"/></td>
				</tr>
			</NoneTemplate>
		</CS:RepeaterPlusNone>
		
	</table>
</div>